import request from '@/config/axios'
import signMd5Utils from '@/utils/signMd5Utils'
import { serviceApiMonitor } from '@/config/axios/service'

// const signHeader = (url: string, params: any) => {
//   const sign = signMd5Utils.getSign(url, params)
//   return { 'X-Sign': sign, 'X-TIMESTAMP': signMd5Utils.getDateTimeToString() }
// }

// export const getQueryDiskInfo = (params: any): Promise<MonitorResponse> => {
//   return serviceApiMonitor({
//     method: 'get',
//     url: '/sys/actuator/redis/queryDiskInfo',
//     params,
//     headers: signHeader('/sys/actuator/redis/queryDiskInfo', params)
//   })
// }
export const getQueryDiskInfo = (params: any) => {
  return request.get({ url: '/sys/actuator/redis/queryDiskInfo', params })
}
